﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<GeckoPhotos.Controllers.ImageController.UploadModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Upload
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h2>
        Upload</h2>
    <form method="post" enctype="multipart/form-data" action="">
    <fieldset>
        <legend>Fields</legend>
        <p>
            Caption:
            <%= Html.TextArea("Caption", Model.Caption) %>
        </p>
        <p>
            File:
            <input type="file" id="Filename" name="Filename" />
        </p>
        <p>
            <input type="submit" value="Upload" />
        </p>
    </fieldset>
    </form>
</asp:Content>
